package com.macro.mall.service.impl;

import com.macro.mall.service.OmsCompanyAddressService;
import com.macro.mapper.OmsCompanyAddressMapper;
import com.macro.model.OmsCompanyAddress;
import com.macro.model.OmsCompanyAddressExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OmsCompanyAddressServiceImpl implements OmsCompanyAddressService {

    @Autowired
    private OmsCompanyAddressMapper omsCompanyAddressMapper;

    @Override
    public List<OmsCompanyAddress> list() {
        return omsCompanyAddressMapper.selectByExample(new OmsCompanyAddressExample());
    }
}
